logspace — Logarithmically spaced vector
logspace
creates a vector of logarithmically spaced points.
If the first two arguments are x1 and x2, then the points are
generated between
10x1 and
10x2. If the optional
third argument is present, it specifies how many points are to be
created. If the third argument is missing, then 50 points are assumed.
As a special case, if the second argument is equal to π, then the
points are generated between
10x1 and π.
This is not an built-in function. This function
is normally loaded on start-up from the logspace.r
file in the
standard rlib
directory. Use of the -r
option, incorrectly
setting the RLAB_LIB_DIR
environmental variable, or modifying
logspace.r
may make this function unavailable.
Subsections